CSS is a lot of fun

Using Fonts

A greyscale photograph of a boardwalk on a foggy day.

For this web page I used Google's Lato font. I learned that using external fonts is good for consistency as not every device has the same set of fonts.

Centering Content

In the last web page I made, the content was all placed within a container that was then aligned the sit in the middle of the page. But this time, I wanted to center the content while extending the background of each section to the sides of the page.

To do this, I put the content of section within its own separate container, and gave the sections backgrounds. Then I made a class for the containers that limited the width and kept it all centered.

hover me more info